import 'package:flutter_clx_base/flutter_clx_base.dart';

import '../../page/event_list/event_detail/index.dart';
import '../../page/main/patrol/index.dart';
import '../../page/main/patrol/location_selection/index.dart';
import '../../page/main/patrol/patrol_filling/index.dart';
import '../../page/main/patrol/report_problem/index.dart';
import '../../page/task_list/create_task/index.dart';
import '../../page/task_list/task_filling/index.dart';
import '../../page/test_menu/index.dart';
import '../../page/warning_list/warning_detail/index.dart';
import '../../page/web/index.dart';
import '../../page/event_list/index.dart';
import '../../page/login/index.dart';
import '../../page/main/index.dart';
import '../../page/main/query/surround_search/index.dart';
import '../../page/mine/address_book/index.dart';
import '../../page/mine/address_book/organization/index.dart';
import '../../page/mine/address_book/department/index.dart';
import '../../page/mine/address_book/personal_info/index.dart';
import '../../page/mine/knowledge_library/index.dart';
import '../../page/task_list/index.dart';
import '../../page/task_list/task_detail/index.dart';
import '../../page/warning_list/index.dart';
import 'route_names.dart';

abstract class RoutePages {
  static final routePage = [
    GetPage(
      name: AppRoutes.testMenuPage,
      page: () => const TestMenuPage(),
    ),
    GetPage(
      name: AppRoutes.webPage,
      page: () => const WebPage(),
    ),
    GetPage(
      name: AppRoutes.mainPage,
      page: () => const MainPage(),
    ),
    GetPage(
      name: AppRoutes.loginPage,
      page: () => const LoginPage(),
    ),
    GetPage(
      name: AppRoutes.addressBookPage,
      page: () => const AddressBookPage(),
    ),
    GetPage(
      name: AppRoutes.knowledgeLibraryPage,
      page: () => const KnowledgeLibraryPage(),
    ),
    GetPage(
      name: AppRoutes.organizationPage,
      page: () => const OrganizationPage(),
    ),
    GetPage(
      name: AppRoutes.departmentPage,
      page: () => const DepartmentPage(),
    ),
    GetPage(
      name: AppRoutes.personalInfoPage,
      page: () => const PersonalInfoPage(),
    ),
    GetPage(
      name: AppRoutes.warningListPage,
      page: () => const WarningListPage(),
    ),
    GetPage(
      name: AppRoutes.taskListPage,
      page: () => const TaskListPage(),
    ),
    GetPage(
      name: AppRoutes.eventListPage,
      page: () => const EventListPage(),
    ),
    GetPage(
      name: AppRoutes.taskDetailPage,
      page: () => const TaskDetailPage(),
    ),
    GetPage(
      name: AppRoutes.surroundSearchPage,
      page: () => const SurroundSearchPage(),
    ),
    GetPage(
      name: AppRoutes.patrolPage,
      page: () => const PatrolPage(),
    ),
    GetPage(
      name: AppRoutes.locationSelectPage,
      page: () => const LocationSelectionPage(),
    ),
    GetPage(
      name: AppRoutes.warningDetailPage,
      page: () => const WarningDetailPage(),
    ),
    GetPage(
      name: AppRoutes.eventDetailPage,
      page: () => const EventDetailPage(),
    ),
    GetPage(
      name: AppRoutes.taskFillingPage,
      page: () => const TaskFillingPage(),
    ),
    GetPage(
      name: AppRoutes.patrolFillingPage,
      page: () => const PatrolFillingPage(),
    ),
    GetPage(
      name: AppRoutes.createTaskPage,
      page: () => const CreateTaskPage(),
    ),
    GetPage(
      name: AppRoutes.reportProblemPage,
      page: () => const ReportProblemPage(),
    ),
  ];
}
